package com.aiprompt.demos.model.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 提示词模板表
 * @TableName dict
 */
@TableName(value ="dict")
@Data
public class Dict implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 模板名称
     */
    @TableField(value = "title")
    private String title;

    /**
     * 模板描述
     */
    @TableField(value = "description")
    private String description;

    /**
     * 模板分类
     */
    @TableField(value = "category")
    private String category;

    /**
     * 模板标签
     */
    @TableField(value = "tags")
    private String tags;

    /**
     * 模板内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 替换关键词
     */
    @TableField(value = "templateKeys")
    private String templateKeys;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "updateTime")
    private Date updateTime;

    /**
     * 是否删除
     */
    @TableLogic
    @TableField(value = "isDelete")
    private Integer isDelete;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}